package com.it.a05oopextendsdemo5;

public class DogTest {
    public static void main(String[] args) {
        //创建对象
        Husky h = new Husky();
        h.eat();
        h.drink();
        h.lookhome();

        ChineseDog c = new ChineseDog();
        c.eat();
        c.drink();
        c.lookhome();
    }
}
